package es.ats.codington.festival.domain;

/**
 * Abstract class that governs behavior of Stadium, Theater, Museum and LargeBusiness objects
 */
public abstract class IndoorPlace extends Place{
	
	
	/*--------------Members Variables--------------------
	 */
	
	private int capacity;

	//---------------------------getters and setters---------------------
	
	public int getCapacity() {
		return capacity;
	}

	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}
	
	//--------------------------Constructor------------
	
	
	/**
	 * 
	 * @param placeName
	 * @param zone
	 * @param capacity
	 */
	public IndoorPlace(String placeName,Zone zone, int capacity){
		
		super(placeName,zone);
		setCapacity(capacity);
	}

	/**
	 * 
	 */
	public IndoorPlace() {
		super();
	}
}
